package cs2340.quarterblack.wheresmystuff;

public class Model {

	private static Account account;
	private static Item item;
	private static int itemRep = 0;
	/**
	 * gets the account being used by the app
	 * @return the account the app was logged in with
	 */
	public static Account getAccount()
	{
		return account;
	}
	/**
	 * sets itemRep according to the int value given
	 * @param rep an int
	 */
	public static void setItemRep(int rep)
	{
		itemRep = rep;
	}
	/**
	 * @return the value of itemRep
	 */
	public static int getItemRep()
	{
		return itemRep;
	}
	/**
	 * sets the account the app was logged in with
	 * @param acct the value account should be set to
	 */
	public static void setAccount(Account acct)
	{
		account = acct;
	}
	/**
	 * gets the current item being used by the application
	 * @return the item currently being used
	 */
	public static Item getItem()
	{
		return item;
	}
	/**
	 * sets the item currently being used by the application
	 * @param it the item that is currently being used.
	 */
	public static void setItem(Item it)
	{
		item = it;
	}
}
